using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;
using Library.Logging;
using SaleManagement.Domains;

namespace SaleManagement.ImportFile.Common
{
  public partial class BaseForm : DevExpress.XtraEditors.XtraForm
  {
    #region Properties
    private User m_loginUer;
    public User LoginUser
    {
      get { return m_loginUer; }
      set { m_loginUer = value; }
    }
    #endregion

    #region Constructor
    public BaseForm()
    {
      InitializeComponent();
    }
    #endregion

    #region Helpers
    public void WriteLog(string description, Exception ex)
    {
      Logger.LogError(description, ex, "General", null);
    }
    #endregion
  }
}